package com.ymk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ymk.base.BaseVO;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色-权限表
 * </p>
 *
 * @author 莫参商
 * @since 2023-05-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("rbac_role_perm")
public class RbacRolePerm extends BaseVO {

    private static final long serialVersionUID = 1L;

    /**
     * 商户id
     */
    @TableField("mch_id")
    private Integer mchId;

    /**
     * 角色id
     */
    @TableField("role_id")
    private Integer roleId;

    /**
     * 权限id
     */
    @TableField("perm_id")
    private Integer permId;


}
